home *** CD-ROM | disk | FTP | other *** search
- Path: news.uni-c.dk!news
- From: Peter Juhl <etiaseti@inet.uni-c.dk>
- Newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.lang.eiffel
- Subject: Re: type checking in C++ was Re: Hungarian notation
- Date: 11 Jan 1996 07:22:02 GMT
- Organization: ETI A/S
- Message-ID: <4d2dqq$4lq@news.uni-c.dk>
- References: <4cf8hf$8fe@hopi.gate.net> <DKoBrn.CHs@falcon.daytonoh.attgis.com> <4d1j37$ge8@stc06.ctd.ornl.gov>
- NNTP-Posting-Host: arhppp35.uni-c.dk
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.22 (Windows; I; 32bit)
-
- mbk@jt3ws1.etd.ornl.gov (Kennel) wrote:
- >Dick Menninger (Dick.Menninger@DaytonOH.ATTGIS.COM) wrote:
- >> Imbedding type information in a name had some utility
- >> in the older C environments with the weak type checking
-
- >
- >At one point something like this could be a problem. It it still?
- >
- >function(Type *p) {
- >
- >// One of this may silently crash or do bad things. Both typecheck.
- >
- >// delete p;
- >// delete [] p;
- >
- >}
- >
-
- This has not been a problem for years, delete p , is the way
- things work.
-
- --- peter
-
- Peter Juhl etiaseti@inet.uni-c.dk
-
-
-